//
//  UploadFile.h
//  HuateVideo
//
//  Created by Tiger on 12-8-8.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserDefaults.h"

@protocol UploadFileDelegate <NSObject>

@optional
- (void)uploadingWithProgress:(CGFloat)progress;

@end

@interface UploadFile : NSObject {
    LocalVideo *localVideo;
    id<UploadFileDelegate> delegate;
    BOOL stop;
    BOOL isUploading;
}

@property(nonatomic,assign)id<UploadFileDelegate> delegate;
@property(nonatomic,assign)BOOL isUploading;

- (void)startUploadWithVideo:(LocalVideo *)lv;
- (void)wantToStop;

@end
